﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>4.编辑器</title>
    <script type="text/javascript" src="../Content/highlighter/scripts/shCore.js"></script>
    <script type="text/javascript" src="../Content/highlighter/scripts/shBrushCSharp.js"></script>
    <script type="text/javascript" src="../Content/highlighter/scripts/shBrushXml.js"></script>
    <link type="text/css" rel="stylesheet" href="../Content/highlighter/styles/shCoreDefault.css"/>
    <script type="text/javascript">SyntaxHighlighter.all();</script>
</head>
<body>
    <h3>编辑器的使用</h3>
    <p>
        控件在Views/Default/Common/Public目录下.<br />
        1.使用之前请拖KindEditorLibrary.ascx到aspx页面中的head标签中.<br />
	    2.然后在textarea中加入属性data-type="kindEditor"即可:<br />
	    例:
    </p>
    <pre class="brush: html;">
        &lt;textarea data-type="kindeditor">&lt;/textarea&gt;
    </pre>
    <p>效果如下:</p>
    <img src="../Content/images/编译器.png" />
</body>
</html>
